<?php /* Smarty version 2.6.19, created on 2012-10-09 01:12:59
         compiled from D:/xampp/htdocs/nghiepquang/templates/Header/Header.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'formatUrl', 'D:/xampp/htdocs/nghiepquang/templates/Header/Header.tpl', 78, false),)), $this); ?>
<?php echo '
<style>
    .searchForm {
        padding    :5px 21px; margin : 0;
        text-align : right;
    }

    #search_keyword {
        border-radius : 3px;
        border        : 1px solid #ccc;
        line-height   : 24px;
        height        : 24px;
        width         : 170px;
        padding-left  : 5px;
        padding-right : 5px;
        margin-right  : 5px;
        margin-top:7px;
    }

</style>
<script type="text/javascript">
    jQuery(document).ready(function () {
        jQuery(\'#menuTinTuc2\').html(jQuery(\'#menuTinTuc\').html());
    });
</script>
'; ?>

<div id="vs_header">
    <div id="banner">
            <img src="<?php echo @STATIC_HOME; ?>
logo.jpg">
    </div>
    <div id="menu">

        <ul>
            <li <?php if (isset ( $_GET['page'] ) && $_GET['page'] == 'home' || ! isset ( $_GET['page'] )): ?> class="active" <?php else: ?>
                                                                                                     style="color: #fff;" class="home"
            <?php endif; ?>>
                <a href="<?php echo @WEB_DIR; ?>
"> Trang Chủ </a>
                <ul class="submenu" id="menuTinTuc">
                <?php $_from = $this->_tpl_vars['cat_newss']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['news_menu'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['news_menu']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['cat']):
        $this->_foreach['news_menu']['iteration']++;
?>
                    <li title="<?php echo $this->_tpl_vars['cat']['name']; ?>
" id="m-cate-<?php echo $this->_tpl_vars['cat']['id']; ?>
">
                        <a href="<?php echo $this->_tpl_vars['cat']['url']; ?>
" <?php if ($this->_tpl_vars['cat']['id'] == $this->_tpl_vars['news_cat_id']): ?>class="selected"<?php endif; ?>><?php echo $this->_tpl_vars['cat']['name']; ?>
</a>
                    </li>
                <?php endforeach; endif; unset($_from); ?>
                </ul>
            </li>
            <li><a href="<?php echo @WEB_DIR; ?>
news.html">Tin tức sự kiện</a>
                <ul class="submenu" id="menuTinTuc2">

                </ul>
            </li>
            <li <?php if (isset ( $_GET['page'] ) && $_GET['page'] == 'list_detail'): ?> class="active" <?php else: ?>
                                                                                style="color: #fff;"
            <?php endif; ?>><a href="javascript:void(0)">Sản phẩm </a>
                <ul class="submenu">
                <?php $_from = $this->_tpl_vars['topcats']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['topcat']):
?>
                    <li id="mli_<?php echo $this->_tpl_vars['topcat']['id']; ?>
">
                        <a <?php if ($this->_tpl_vars['CURENT_TOP_CATID'] == "{".($this->_tpl_vars['topcat']).".id"): ?>} style="color:#000;font-weight: 700;" <?php endif; ?>href="<?php echo $this->_tpl_vars['topcat']['url']; ?>
" <?php echo $this->_tpl_vars['topcat']['target']; ?>
><?php echo $this->_tpl_vars['topcat']['name']; ?>
 </a>
                    </li>
                <?php endforeach; endif; unset($_from); ?>
                </ul>
            </li>


            <li><a href="<?php echo @WEB_DIR; ?>
contact_us.html"> Liên Hệ </a>
                <ul class="submenu"></ul>
            </li>

        </ul>
    </div>
    <div class="bg-submenu" style="display:block;"></div>
</div>
<form method="GET" action="<?php echo $this->_tpl_vars['web_dir']; ?>
<?php echo ((is_array($_tmp="?page=sph_search")) ? $this->_run_mod_handler('formatUrl', true, $_tmp) : formatUrl($_tmp)); ?>
" name="frmSearch" class="searchForm">

    <input type="text" placeholder="Tìm kiếm" size="20" name="keywords" id="search_keyword" value="<?php echo $this->_tpl_vars['keywords']; ?>
"/>
    <select name="search_catid" id="search_catid" style="width:156px;height: 24px;">
    <?php echo $this->_tpl_vars['search_cat_option']; ?>

    </select>
    <input type="submit" name="btnSearch" value="Tìm kiếm" style="padding: 2px 10px;position: relative;top:3px;">
</form>